﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>    
        <table style="width: 100%; margin-bottom: 0px;">
            <tr>
                <td class="auto-style2">First Name:</td>
                <td class="auto-style3">
                    <asp:TextBox ID="txtFname" runat="server" Width="187px"></asp:TextBox>
                </td>
                <td class="auto-style3"></td>
            </tr>
            <tr>
                <td class="auto-style1">Last Name:</td>
                <td>
                    <asp:TextBox ID="txtLname" runat="server" Height="22px" Width="187px"></asp:TextBox>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1">Age:</td>
                <td>
                    <asp:TextBox ID="txtAge" runat="server" Width="186px"></asp:TextBox>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style2">Marital Status:</td>
                <td class="auto-style3">
                    <asp:TextBox ID="txtMaritalStatus" runat="server" Width="185px"></asp:TextBox>
                </td>
                <td class="auto-style3"></td>
            </tr>
            <tr>
                <td class="auto-style1">No. of Children:</td>
                <td>
                    <asp:TextBox ID="txtNoOfChildren" runat="server" Width="184px"></asp:TextBox>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1">Time:</td>
                <td>
                    <asp:Label ID="lblTime" runat="server" Font-Bold="True"></asp:Label>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td class="auto-style5">
                    <asp:Button ID="btnSaveValue" runat="server" Text="Save Values to Profiles" OnClick="btnSaveValue_Click" />
                </td>
                <td class="auto-style5"></td>
            </tr>
        </table>
    
    </div>
        <asp:Panel ID="Panel1" runat="server">
            <table style="width:100%;">
                <tr>
                    <td colspan="3">
                        <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="#333333" Text="Values Fetched from Profile"></asp:Label>
                    </td>
                    
                </tr>
                <tr>
                    <td class="auto-style6">First Name:</td>
                    <td>
                        <asp:Label ID="lblShowFname" runat="server"></asp:Label>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style6">Last Name:</td>
                    <td>
                        <asp:Label ID="lblShowLname" runat="server"></asp:Label>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style6">Age:</td>
                    <td>
                        <asp:Label ID="lblAge" runat="server"></asp:Label>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style6">Marital Status:</td>
                    <td>
                        <asp:Label ID="lblMaritalStatus" runat="server"></asp:Label>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style7">No. of Children:</td>
                    <td class="auto-style3">
                        <asp:Label ID="lblShowNoOfChildren" runat="server"></asp:Label>
                    </td>
                    <td class="auto-style3"></td>
                </tr>
                <tr>
                    <td class="auto-style7">Last Visited:</td>
                    <td class="auto-style3">
                        <asp:Label ID="lblShowTime" runat="server"></asp:Label>
                    </td>
                    <td class="auto-style3">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style7">&nbsp;</td>
                    <td class="auto-style3">
                        <asp:Button ID="btnFetch" runat="server" Text="Fetch Values from Profiles" OnClick="btnFetch_Click" />
                    </td>
                    <td class="auto-style3">&nbsp;</td>
                </tr>
            </table>
        </asp:Panel>
    </form>
</body>



</html>
